<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <ul class="nav nav-tabs"></ul>
    </div>
    <div class="fixed-table-body">
        <div class="fixed-table-loading" style="top: 42px; display: none;">正在努力地加载数据中，请稍候……</div>
        <table id="table" class="table table-striped table-bordered table-hover table-nowrap" width="100%">
            <thead>
            <tr>
                <th class="text-center" align="center" colspan="<?php echo $scount*3;?>">{$inteInfo['starttime']}-{$inteInfo['endtime']}周次积分分组排名</th>
            </tr>

            <tr>
                {foreach name="info['data']" key="kk" item="vv"}
                <th style="text-align: center; vertical-align: middle; " data-field="" colspan="3">
                    <div class="th-inner ">{$kk}组积分排名</div>
                    <div class="fht-cell"></div>
                </th>
                {/foreach}
            </tr>
            </thead>
            <tbody data-listidx="0">
                <tr>
                    {foreach name="info['data']" key="kk" item="vv"}
                     <th>市场</th><th>名次</th><th>积分</th>
                    {/foreach}
                </tr>
                <?php
                    $ii=0;
                ?>
                {for start="0" end="$count" name="s"}
                    <tr>
                        <?php $jj=0;?>
                        {for start="0" end="$scount" }

                                <?php if(isset($list[$jj][$ii])){?>
                                         <td>&nbsp;<?php echo str_replace('分公司','',$dep[$list[$jj][$ii]['key']]['name']);?></td> <td><?php echo $ii+1;?></td> <td><?php echo $list[$jj][$ii]['val'];?></td>
                                <?php }else{?>
                                        <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;</td>

                                 <?php }?>
                            <?php $jj++;?>
                        {/for}
                    </tr>
                    <?php $ii++;?>
                {/for}

            </tbody>
        </table>
    </div>
</div>